class ResetLeechdoms < ActiveRecord::Migration
  def self.up
    # because of the PHARExtractor.jar can't download img, it must be clearn the table and run the PHARExtractor.jar again.
    create_table "leechdoms", :force => true do |t|
      t.string   "generic_name"
      t.string   "proprietary_name"
      t.string   "english_name"
      t.string   "chinese_name"
      t.string   "chemical_name"
      t.string   "formulation"
      t.string   "molecular_weight"
      t.string   "spec"
      t.text     "application_and_dosage"
      t.string   "pregnancy_and_lactation"
      t.string   "intant"
      t.string   "lderly_patient"
      t.string   "storage"
      t.string   "packs"
      t.string   "validity"
      t.string   "standard"
      t.string   "batch_no"
      t.text     "composition"
      t.text     "description"
      t.text     "indications"
      t.text     "adverse_reaction"
      t.text     "contraindications"
      t.text     "precautions"
      t.text     "interactions"
      t.text     "overdosage"
      t.text     "pharmacology"
      t.text     "phamacokinetics"
      t.string   "price", :default => "0"
      t.datetime "created_at"
      t.datetime "updated_at"
      t.integer  "factory_id", :null => false
      t.integer  "category_id", :null => false
      t.string   "image_url"
      t.text     "intro"
      t.integer  "oid"
    end
  end

  def self.down
  end
end
